﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VoL.Domain.Common.DTO
{
    /// <summary>
    /// 设备记录查询属性
    /// </summary>
    public partial class EquipmentRecordQueryAttribute
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页记录数
        /// </summary>
        public int PageSize { get; set; } = 3;

        /// <summary>
        /// 设备类型
        /// </summary>
        /// <example>监护仪、输液泵、心电图机等</example>
        public string? EquipmentType { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>
        /// <example>JH-2023001、XT-2023089等</example>
        public string? EquipmentNo { get; set; }

        /// <summary>
        /// 借用人
        /// </summary>
        /// <example>医生或护士姓名</example>
        public string? Borrower { get; set; }

        /// <summary>
        /// 借用日期
        /// </summary>
        /// <remarks>设备借出的具体时间，精确到秒</remarks>
        public System.DateTime? BorrowDate { get; set; }

        /// <summary>
        /// 归还人
        /// </summary>
        /// <remarks>执行归还操作的人员</remarks>
        public string? ReturnUser { get; set; }

        /// <summary>
        /// 设备状态
        /// </summary>
        /// <remarks>
        /// 1: 借用中
        /// 2: 已归还
        /// 3: 维修中（可扩展其他状态）
        /// </remarks>
        public int? State { get; set; }
    }
}
